package com.hiwhitley.easy.day24;

/**
 * Created by hiwhitley on 2016/10/17.
 */
public class WoodChair extends Funiture{
    private IBurn burn;
    private IHeavy heavy;

    public WoodChair() {
        this.burn = new ChairBurn();
        this.heavy = new WoodHeavy();
    }

    @Override
    void testBurn() {
        burn.testBurn();
    }

    @Override
    void testHeavy() {
        heavy.testHeavy();
    }
}
